package com.cskaoyan.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class OrderStatVO {

    private List<String> columns;
    private List<RowsBean> rows;

    public List<String> getColumns() {
        return columns;
    }

    public void setColumns(List<String> columns) {
        this.columns = columns;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * amount : 4989
         * orders : 4
         * customers : 3
         * day : 2020-04-27
         * pcr : 1663
         */

        private int amount;
        private int orders;
        private int customers;
        @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
        private Date day;
        private int pcr;

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public int getOrders() {
            return orders;
        }

        public void setOrders(int orders) {
            this.orders = orders;
        }

        public int getCustomers() {
            return customers;
        }

        public void setCustomers(int customers) {
            this.customers = customers;
        }

        public Date getDay() {
            return day;
        }

        public void setDay(Date day) {
            this.day = day;
        }

        public int getPcr() {
            return pcr;
        }

        public void setPcr(int pcr) {
            this.pcr = pcr;
        }
    }
}
